l =  [0, 1, 2, 3, 4]
t =  (0, 1, 2, 3, 4)

# 把字符串转换为元组
st = tuple('我爱你')
# ('我', '爱', '你')
print(st)
# 把列表转换为元组
# tl = tuple([0, 1, 2, 3, 4])
tl = tuple(l)
print(tl)

s = tuple()
print(s)
for num in t :
    print(num)
print('+++++++++++')
for index in range(len(t)):
    print(t[index])